package com.youpingou.client;

import com.youpingou.vo.SearchSku;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value="web-service")
@RequestMapping
public interface SkuClient {
    @GetMapping("/esData")
    public List<SearchSku> findESData();
}